<?php include_stylesheets_for_form($form) ?>
<?php include_javascripts_for_form($form) ?>
	<form id="myForm" action="<?php echo url_for('connexionAppli/submit') ?>" method="post" enctype="multipart/form-data">
	<div id="errorDisplayHaut" class="errorDisplay">&nbsp;</div>
		<table class="tab_conn">
			<tr>
				<td>
					<?php
						echo $form['login']->render(array('value'=>__("Your User Name"),
							'title'=>__("Your user ID"),
							"onFocus"=>"if(this.value==\"".__("Your User Name")."\") this.value='';", 
							"onBlur"=>"if(this.value=='')this.value=\"".__("Your User Name")."\";", 
							"class"=>"tooltip", "style"=>""));
					?>
				</td>
			</tr>
			<tr>
				<td>
					<?php
						echo $form['pwd']->render(array('value'=>__("Password"),
							'title'=>__("Your password ID"),
							"onFocus"=>"if(this.value==\"".__("Password")."\") this.value='';", 
							"onBlur"=>"if(this.value=='')this.value=\"".__("Password")."\";", 
							"class"=>"tooltip", "style"=>""));
					?>
				</td>
			</tr>
			<tr>
				<td>
					<input type="image" src="/images/login.png" name="submit" id="submit_btn" class="button">
					<?php if(strpos(sfConfig::get('app_ldapRoot_ldapHost'), 'gardian')!==false):?>
					<br /><img src="/images/logo_gardian.png" />
					<?php endif;?>
				</td>
			</tr>
		</table>
	</form>

<script type="text/javascript">
function customVal(validators)
{

}
</script>